<template>
  <div>
    <h1>父组件</h1>
    <button @click="count++">要传递的值{{ count }}</button>
    <Gettest :count="count"></Gettest>
  </div>
</template>

<script>

import Gettest from "./gettest";

export default {
  name: "test",
  components: {Gettest},
  data() {
    return {
      count: 1,
    }
  },
}
</script>

<style scoped>

</style>
